package org.example.shop_front_api.service.impl;

import org.example.shop_front_api.entity.IdCard;
import org.example.shop_front_api.mapper.IdCardMapper;
import org.example.shop_front_api.service.IdCardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IdCardServiceImpl implements IdCardService {

    @Autowired
    private IdCardMapper idCardMapper;
    @Override
    public int insertIdCard(IdCard idCard) {
        return idCardMapper.insertIdCard(idCard);
    }
}
